package com.qf.pojo;

import lombok.Data;

import javax.persistence.*;

/**
 * @Author Zhy
 * Date on 2020/10/12  18:57
 * @description
 */
/*
### Druginfo【药品信息表】西药/成药+中药---新增-修改-导入-导出

药品基本信息：
药品编码(1000001),药品名称,处方类别(西/成药-中药),药品分类(注射类-消炎类-西药),药品规格(6g*11袋/盒),药品剂型(片剂-注射液-口服液),发票项目(诊疗费-检查费-西药费),批准文号,生产厂家(),是否为OTC药品,
包装信息：
包装单位(盒-袋-片),基本系数,基本单位(盒-袋-片),剂量系数,剂量单位(盒-袋-片),采购价(元),零售价(元),
属性1,属性2
drugId,name,kind,classify,specification,formulation,invoice,permitNo,manufacturer,isOtc,
packages,coefficient,baseUnit,doseFactor,doseUnit,purchasePrice,retailPrice,
attribute1,attribute2
 */
@Entity
@Data
@Table(name = "druginfo")
public class Druginfo {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "drugid")
    private String drugId;
    private String name;
    private String kind;
    private String classify;
    private String specification;
    private String formulation;
    private String invoice;
    @Column(name = "permitno")
    private String permitNo;
    private String manufacturer;
    @Column(name = "isotc")
    private String isOtc;
    private String packages;
    private String coefficient;
    @Column(name = "baseunit")
    private String baseUnit;
    @Column(name = "dosefactor")
    private String doseFactor;
    @Column(name = "doseunit")
    private String doseUnit;
    @Column(name = "purchaseprice")
    private Double purchasePrice;
    @Column(name = "retailprice")
    private Double retailPrice;
    private String attribute1;
    private String attribute2;
}
